package router

import (
	"github.com/gin-gonic/gin"
	"zhihu-passion/internal/api"
)

func ArticleRouter(c *gin.RouterGroup) {
	article := c.Group("Article")
	{
		article.POST("AddArticle", api.AddArticle)
		article.GET("Browse", api.Browse)
		article.POST("AddGood", api.AddGood)
		article.POST("AddDiscuss", api.AddDiscuss)
		article.POST("Reply", api.Reply)
		article.GET("List", api.List)
		article.POST("Statistics", api.Statistics)
		article.POST("Del", api.Del)
	}
}
